package com.bootdo.timing.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.bootdo.timing.dao.CombCountDao;
import com.bootdo.timing.domain.CombCountDO;
import com.bootdo.timing.service.CombCountService;



@Service
public class CombCountServiceImpl implements CombCountService {
	@Autowired
	private CombCountDao combCountDao;
	
	@Override
	public CombCountDO get(Integer id){
		return combCountDao.get(id);
	}
	
	@Override
	public List<CombCountDO> list(Map<String, Object> map){
		return combCountDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return combCountDao.count(map);
	}
	
	@Override
	public int save(CombCountDO combCount){
		return combCountDao.save(combCount);
	}
	
	@Override
	public int update(CombCountDO combCount){
		return combCountDao.update(combCount);
	}
	
	@Override
	public int remove(Integer id){
		return combCountDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return combCountDao.batchRemove(ids);
	}

	@Override
	public List<CombCountDO> getUserCountInfo() {
		return combCountDao.getUserCountInfo(new HashMap<>());
	}

	@Override
	public int updateCombCountInfo(CombCountDO combCountDO) {
		return combCountDao.updateCombCountInfo(combCountDO);
	}

}
